package com.ziyun.pop.common.e.order;

import com.ziyun.pop.common.e.BaseEnum;

/**
 * @author guizhao
 * @Description: 送货方式枚举类
 * @date 2018-08-06 14:00
 * */
public enum SendTypeEnum implements BaseEnum {
    /**
     * 0.非自提
     */
    SEND(0,"非自提"),

    /**
     * 1.自提
     */
    PICK_UP(1,"自提"),
    ;

    private int id;
    private String describe;

    SendTypeEnum(int id, String describe) {
        this.id = id;
        this.describe = describe;
    }

    @Override
    public int toInt() {
        return id;
    }

    @Override
    public String toCode() {
        return null;
    }

    @Override
    public String toDescribe() {
        return describe;
    }
}
